	<?php echo $this->render('/public/header');?>
	<div id="mrightChild" style="height: 864px;">
		<div class="main-content">
			<div class="tip_wrapper" style="margin:18px 5px 0 24px;display:none">
			</div>
			<div class="page-content">
				<div>
					<div style="position:relative">
						<div id="main" class="col-xs-12">
							<style>

							</style>
							<!-- begin:页签 -->
							<!-- begin:导航条 -->
							<ul class="nav nav-tabs clearfix">
								<li class="active"><a data-toggle="tab" load="true" href="javascript:void(0);" id="tab_setting_customer" onclick="Customer.search(&#39;customer&#39;);">客户</a></li>
								<li class=""><a data-toggle="tab" load="true" href="javascript:void(0);" id="tab_setting_vendor" onclick="Customer.search(&#39;vendor&#39;);">供应商</a></li>
							</ul>
							<!-- end:导航条 -->
							<!-- begin:搜索区 -->
							<form name="partySchForm" id="partySchForm" class="inlineform" method="post">
								<input type="hidden" name="customerGroupId" id="customerGroupId">
								<div class="left">
									<div class="form-field">
										<label for="customerName">名称：</label>
									</div>
									<div class="form-district">
										<input type="text" name="customerName" id="customerName" maxlength="100" value="" placeholder="">
									</div>
								</div>
								<div>
									<div class="form-field">
										<span class="checkboxWrap">
											<input type="hidden" id="isCommon" name="isCommon" value="">
											<span class="checkboxWrap"><label for="isCommonCheck"><input type="checkbox" id="isCommonCheck" name="isCommonCheck" value="1" onclick="isCommonCheckFun();Customer.search();" style="display: none;"><span class="checkboxSpan">常用</span></label></span>
											<span class="checkboxSpan" style="display: none;">常用</span>
										</span>
									</div>
								</div>

								<div class="form-btn-div">
									<div>
										<a href="javascript:void(0)" id="searchBtn" onclick="Customer.search();" class="button button_primary">查询</a>
									</div>
								</div>

								<div class="right searchbarIconComb">
									<div class="left center searchbarAudit">

										<div class="btn-group">
											<a href="javaScript:void(0)" onclick="Customer.add();Customer.afterSave=Customer.search;" class="button button_ghost">新增</a>
										</div>

									</div>
									<div class="left center searchbarAudit">

										<div class="btn-group">
											<a data-toggle="dropdown" class="button button_ghost" title="导出excel">导出</a>
											<ul class="searchbarAuditList exportList">
												<li>
													<a data-toggle="tab" onclick="Customer.onExport();">导出数据（1000条内）</a>
												</li>
												<li class="divider"></li>
												<li id="downMore">
													<a data-toggle="tab" onclick="Customer.onExportMore(&#39;2&#39;,&#39;customerItemExport&#39;,&#39;customer&#39;);">导出更多数据</a>
												</li>
											</ul>
										</div>

									</div>
									<div class="left center">

										<div class="btn-group">
											<a class="button button_ghost" title="导入excel" onclick="Customer.goIN(&#39;customer&#39;);">导入</a>
										</div>

									</div>
								</div>
							</form>

							<div class="pickerDataView">

								<div>
									<h5>分组</h5>
									<ul>
										<li class="active" onclick="updateCustomerGroupId(&#39;&#39;);Customer.search();">全部分组</li>
										<li onclick="updateCustomerGroupId(&#39;-1&#39;);Customer.search(&#39;&#39;,&#39;-1&#39;);">未分组</li>

										<li onclick="updateCustomerGroupId(&#39;46478&#39;);Customer.search(&#39;&#39;,&#39;&#39;);">
											<span class="ellipsis" id="customerGroupId46478">默认组</span>
											<b class="icon_small icon_delete_18" onclick="Customer.groupDelete(&#39;46478&#39;,event,this)"></b>
											<b class="icon_small icon_edit_18" onclick="Customer.groupEdit(&#39;46478&#39;,event,this)"></b>
										</li>

										<li class="groupAdd" onclick="Customer.groupAdd();">新增分组</li>
									</ul>
									<div class="editGroup">
										<a class="button" title="编辑" href="javascript:void(0)" onclick="Customer.editGroup(this);">编辑</a>
									</div>
								</div>


								<div>
									<div id="customerDataView" class="data">
										<table id="listtb" class="table">
											<thead>
												<tr>
													<th class="account">名称</th>
													<th class="amount">分组</th>
													<th class="amount">联系人</th>
													<th class="amount">手机</th>
													<th class="amount">备注</th>
													<th class="quantity">操作</th>
												</tr>
											</thead>
											<tbody>


												<tr style="background: rgb(255, 255, 255);">
													<td>
														葛胜春
													</td>
													<td>

														未分组
													</td>
													<td>

													</td>
													<td class="center"></td>
													<td class="remark  tooltipCon">
														<div class="remarkCon">
															<span>

															</span>
														</div>

													</td>
													<td class="action2">
														<a title="修改" href="javascript:void(0);" onclick="Customer.edit(&#39;2777491&#39;);"><b class="icon_small icon_edit_18"></b></a>
														<a class="deleteBtn" title="删除" href="javascript:void(0);" onclick="Customer.onDelete(&#39;2777491&#39;);"><b class="icon_small icon_delete_18"></b></a>
														<img class="commonImg" alt="changyong" title="设置常用" style="top:-6px;" onclick="Customer.setCommon(this,&#39;1&#39;,&#39;2777491&#39;,event);" src="/statics/main/star_n.png">
													</td>
												</tr>

												<tr style="background: rgb(255, 255, 255);">
													<td>
														律师
													</td>
													<td>

														未分组
													</td>
													<td>

													</td>
													<td class="center"></td>
													<td class="remark  tooltipCon">
														<div class="remarkCon">
															<span>

															</span>
														</div>

													</td>
													<td class="action2">
														<a title="修改" href="javascript:void(0);" onclick="Customer.edit(&#39;2777498&#39;);"><b class="icon_small icon_edit_18"></b></a>
														<a class="deleteBtn" title="删除" href="javascript:void(0);" onclick="Customer.onDelete(&#39;2777498&#39;);"><b class="icon_small icon_delete_18"></b></a>
														<img class="commonImg" alt="changyong" title="设置常用" style="top:-6px;" onclick="Customer.setCommon(this,&#39;1&#39;,&#39;2777498&#39;,event);" src="/statics/main/star_n.png">
													</td>
												</tr>

											</tbody>
											<tfoot>

												<tr align="center">
													<td colspan="6" class="pageBar"><ul class="zw-pagination">
														<li class="pagination-prev-disabled"><a href="https://tiger.cash360.cn/setting/index.do#" title="上一页" pageno="1"></a></li>
														<li class="pagination-item-active"><a href="https://tiger.cash360.cn/setting/index.do#" title="第1页" pageno="1">1</a></li>
														<li class="pagination-next-disabled"><a href="https://tiger.cash360.cn/setting/index.do#" title="下一页" pageno="1"></a></li>
														<li class="pagination-item pagination-info">共1页</li>
														<li class="pagination-item pagination-info">共2条记录</li>
													</ul>
												</td>
											</tr>
										</tfoot>
									</table>
									<script src="/statics/main/query.js.下载"></script>
								</div>
							</div>
						</div>

					</div>
<?php echo $this->render('/public/footer');?>

